package com.tencent.wepay.protocol.bill.domain;

import java.io.Serializable;

import com.tencent.wepay.constant.enums.BankEnum;
import com.tencent.wepay.constant.enums.FeeTypeEnum;
import com.tencent.wepay.constant.enums.RefundChannelEnum;
import com.tencent.wepay.constant.enums.RefundStatusEnum;
import com.tencent.wepay.constant.enums.TradeStatusEnum;
import com.tencent.wepay.constant.enums.TradeTypeEnum;
import com.thoughtworks.xstream.annotations.XStreamAlias;

public class Detail implements Serializable {
	private static final long serialVersionUID = -5951249108711913991L;
	@XStreamAlias("交易时间")
	private String tradeTime;
	@XStreamAlias("公众账号ID")
	private String appid;
	@XStreamAlias("商户号")
	private String mchId;
	@XStreamAlias("子商户号")
	private String subMchId;
	@XStreamAlias("设备号")
	private String deviceInfo;
	@XStreamAlias("微信订单号")
	private String transactionId;
	@XStreamAlias("商户订单号")
	private String tradeNo;
	@XStreamAlias("用户标识")
	private String openid;
	@XStreamAlias("交易类型")
	private TradeTypeEnum tradeType;
	@XStreamAlias("交易状态")
	private TradeStatusEnum tradeStatus;
	@XStreamAlias("付款银行")
	private BankEnum bank;
	@XStreamAlias("货币种类")
	private FeeTypeEnum feeType;
	@XStreamAlias("总金额")
	private Integer totalFee;
	@XStreamAlias("企业红包金额")
	private Integer mchFee;
	@XStreamAlias("微信退款单号")
	private String refundId;
	@XStreamAlias("商户退款单号")
	private String outRefundNo;
	@XStreamAlias("退款金额")
	private Integer refundFee;
	@XStreamAlias("企业红包退款金额")
	private Integer mchRefundFee;
	@XStreamAlias("退款类型")
	private RefundChannelEnum refundChannel;
	@XStreamAlias("退款状态")
	private RefundStatusEnum refundStatus;
	@XStreamAlias("商品名称")
	private String productName;
	@XStreamAlias("商户数据包")
	private String postPackage;
	@XStreamAlias("手续费")
	private Double servieFee;
	@XStreamAlias("费率")
	private Double rates;
	public String getTradeTime() {
		return tradeTime;
	}
	public void setTradeTime(String tradeTime) {
		this.tradeTime = tradeTime;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	public String getSubMchId() {
		return subMchId;
	}
	public void setSubMchId(String subMchId) {
		this.subMchId = subMchId;
	}
	public String getDeviceInfo() {
		return deviceInfo;
	}
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public TradeTypeEnum getTradeType() {
		return tradeType;
	}
	public void setTradeType(TradeTypeEnum tradeType) {
		this.tradeType = tradeType;
	}
	public TradeStatusEnum getTradeStatus() {
		return tradeStatus;
	}
	public void setTradeStatus(TradeStatusEnum tradeStatus) {
		this.tradeStatus = tradeStatus;
	}
	public BankEnum getBank() {
		return bank;
	}
	public void setBank(BankEnum bank) {
		this.bank = bank;
	}
	public FeeTypeEnum getFeeType() {
		return feeType;
	}
	public void setFeeType(FeeTypeEnum feeType) {
		this.feeType = feeType;
	}
	public Integer getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}
	public Integer getMchFee() {
		return mchFee;
	}
	public void setMchFee(Integer mchFee) {
		this.mchFee = mchFee;
	}
	public String getRefundId() {
		return refundId;
	}
	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}
	public String getOutRefundNo() {
		return outRefundNo;
	}
	public void setOutRefundNo(String outRefundNo) {
		this.outRefundNo = outRefundNo;
	}
	public Integer getRefundFee() {
		return refundFee;
	}
	public void setRefundFee(Integer refundFee) {
		this.refundFee = refundFee;
	}
	public Integer getMchRefundFee() {
		return mchRefundFee;
	}
	public void setMchRefundFee(Integer mchRefundFee) {
		this.mchRefundFee = mchRefundFee;
	}
	public RefundChannelEnum getRefundChannel() {
		return refundChannel;
	}
	public void setRefundChannel(RefundChannelEnum refundChannel) {
		this.refundChannel = refundChannel;
	}
	public RefundStatusEnum getRefundStatus() {
		return refundStatus;
	}
	public void setRefundStatus(RefundStatusEnum refundStatus) {
		this.refundStatus = refundStatus;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getPostPackage() {
		return postPackage;
	}
	public void setPostPackage(String postPackage) {
		this.postPackage = postPackage;
	}
	public Double getServieFee() {
		return servieFee;
	}
	public void setServieFee(Double servieFee) {
		this.servieFee = servieFee;
	}
	public Double getRates() {
		return rates;
	}
	public void setRates(Double rates) {
		this.rates = rates;
	}
}
